package us.bighelp2.marc.resources;

import java.io.Serializable;
import java.util.Date;

public class Organization implements Serializable
{
	private static final long serialVersionUID = 4477183162733564908L;
	private Integer orgId;
	private String name;
	private Date startdate;
	private Date enddate;
	private Integer ownerId;
	private Integer parentOrgId;
	
	public Organization(Integer orgId, String name, Date startdate, Date enddate, Integer ownerId, Integer parentOrgId)
	{
		this.orgId = orgId;
		this.name = name;
		this.startdate = startdate;
		this.enddate = enddate;
		this.ownerId = ownerId;
		this.parentOrgId = parentOrgId;
	}

	public Integer getOrgId() 
	{
		return orgId;
	}

	public void setOrgId(Integer orgId) 
	{
		this.orgId = orgId;
	}

	public String getName() 
	{
		return name;
	}

	public void setName(String name) 
	{
		this.name = name;
	}

	public Date getStartdate() 
	{
		return startdate;
	}

	public void setStartdate(Date startdate) 
	{
		this.startdate = startdate;
	}

	public Date getEnddate() 
	{
		return enddate;
	}

	public void setEnddate(Date enddate) 
	{
		this.enddate = enddate;
	}

	public Integer getOwnerId() 
	{
		return ownerId;
	}

	public void setOwnerId(Integer ownerId) 
	{
		this.ownerId = ownerId;
	}

	public Integer getParentOrgId() 
	{
		return parentOrgId;
	}

	public void setParentOrgId(Integer parentOrgId) 
	{
		this.parentOrgId = parentOrgId;
	}
}
